﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserRoleEdit.aspx.cs" Inherits="WebSystem.User.UserRoleEdit"
    Theme="normal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>管理员角色管理</title>
    <link href="../css/StyleforBase.css" type="text/css" rel="stylesheet" />
</head>
<body style="background-color: #fcf6ec">
    <form id="form1" method="post" runat="server">
        <%--<div class="normalnav">
            <div class="normalcontent" style="color: Black;">
                控制面板>>><asp:Label ID="lbladdoredit" runat="server"></asp:Label></div>
        </div>--%>
        <div class="normalnav">
            <div class="normalcontent">
                <span style="color: #ffffff">控制面板>>>管理员角色管理>>></span>
                <span style="color: #f6ff00"><asp:Label ID="lbladdoredit" runat="server" /></span><%--管理员角色修改</span>--%>
            </div>
        </div>
        <div class="normalmenu">
            <div class="normalmenucontent1">
                <table>
                    <tr>
                        <td>
                            <asp:ImageButton ID="ibtnedit" runat="server" ImageUrl="../Images/Basic/edit.gif"
                                ToolTip="修改" OnClick="ibtnedit_Click" />
                        </td>
                        <td>
                            <asp:ImageButton ID="ibtnadd" runat="server" ImageUrl="../Images/Basic/xinzeng.gif"
                                ToolTip="新增" OnClick="ibtnadd_Click" />
                        </td>
                        <td>
                            <asp:ImageButton ID="ibtnback" runat="server" ImageUrl="../Images/Basic/return.gif"
                                ToolTip="返回" OnClick="ibtnback_Click" CausesValidation="False" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <%--间隔--%>
        <table cellpadding="0" cellspacing="0" border="0" width="800px">
            <tr>
                <td height="20px">
                    <asp:Label ID="lblUserRoleID" runat="server" Visible="false"></asp:Label>
                    <asp:Label ID="lblUserRole" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
        </table>
        <div class="normalgrid">
            <table cellpadding="0" cellspacing="0" border="0" width="800px">
                <!--管理员角色名称-->
                <tr>
                    <td class="leftforregister">
                        管理员角色名称：
                    </td>
                    <td class="centerforregister">
                        <%--<asp:TextBox ID="txtFolderName" runat="server" Width="184px" MaxLength="64" onfocus="this.style.borderColor='#000000'"  onblur="this.style.borderColor='#A3BFA8';chktxtFolderName(this);"></asp:TextBox>--%>
                        <asp:TextBox ID="txtUserRoleName" runat="server" Width="184px" MaxLength="64"></asp:TextBox>
                        <asp:Label ID="lblUserRoleName" runat="server" Visible="false"></asp:Label>
                    </td>
                    <td class="rightforregister">
                        <span id="errspan1forfolder">请填写管理员角色名称。</span><br />
                    </td>
                </tr>
                <!--管理员角色名称检测结果-->
                <tr height="20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <%--<div  id="divMessageforfolder" style="display:none">
                    <span id="failinfoforfolder"></span>
                                   
                    </div>--%>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtUserRoleName" ControlToValidate="txtUserRoleName"
                            runat="server" ErrorMessage="管理员角色名称不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <!--角色备注-->
                <tr>
                    <td class="leftforregister">
                        角色备注：
                    </td>
                    <td class="centerforregister">
                        <%--<asp:TextBox ID="txtFolderName" runat="server" Width="184px" MaxLength="64" onfocus="this.style.borderColor='#000000'"  onblur="this.style.borderColor='#A3BFA8';chktxtFolderName(this);"></asp:TextBox>--%>
                        <asp:TextBox ID="txtRemark" runat="server" Width="320px" Height="60px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                    <td class="rightforregister">
                        <span id="Span20">请填写角色备注。</span><br />
                    </td>
                </tr>
                <!--角色备注检测结果-->
                <tr height="20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                    </td>
                </tr>
                <!--权重-->
                <tr>
                    <td class="leftforregister">
                        权重：
                    </td>
                    <td class="centerforregister">
                        <%--<asp:TextBox ID="txtFolderName" runat="server" Width="184px" MaxLength="64" onfocus="this.style.borderColor='#000000'"  onblur="this.style.borderColor='#A3BFA8';chktxtFolderName(this);"></asp:TextBox>--%>
                        <asp:TextBox ID="txtQZ" runat="server" Width="184px" MaxLength="64"></asp:TextBox>
                    </td>
                    <td class="rightforregister">
                        <span id="Span2">请填写题目分类权重。默认为0，越大越靠前</span><br />
                    </td>
                </tr>
                <!--权重检测结果-->
                <tr height="20px">
                    <td class="leftforregister">
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <%--<div  id="divMessageforfolder" style="display:none">
                    <span id="failinfoforfolder"></span>
                                   
                    </div>--%>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorfortxtQZ" ControlToValidate="txtQZ"
                            runat="server" ErrorMessage="权重不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorfortxtQZ" runat="server"
                            ControlToValidate="txtQZ" CssClass="Text" ErrorMessage="格式不正确！应为大于或等于零的整数" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <%-- <!--管理员角色权限勾选名称-->
            <tr>
                <td class="leftforregister">
                    管理员角色权限：
                </td>
                <td class="jyjgforregister" colspan="2">
                     <asp:CheckBoxList ID="chklPower" runat="server">
                        </asp:CheckBoxList>
                </td>
               
             </tr>
             <!--管理员角色名称检测结果-->
            <tr height="20px">
                <td class="leftforregister">
                    
                </td>
                <td class="jyjgforregister" colspan="2">
                    
                    
                </td>
            </tr>--%>
                <!--管理员角色权限勾选名称-->
                <tr>
                    <td class="leftforregister" valign="top">
                        管理员角色权限：
                    </td>
                    <td class="jyjgforregister" colspan="2">
                        <asp:Panel ID="Panel1" runat="server">
                        </asp:Panel>
                    </td>
                </tr>
            </table>
        </div>

        <script type="text/javascript">
                                  init();
        </script>

    </form>
</body>
</html>
